import javax.microedition.lcdui.*;
import javax.microedition.midlet.MIDlet;
import javax.microedition.midlet.MIDletStateChangeException;

public class Pica extends MIDlet {
	
	public static Pica instance;
	public static Display display;
	public static String c;
	public static String d;

	public Pica() {
		instance = this;
		display = Display.getDisplay(this);
		c = getAppProperty("CompileVersion");
		d = getAppProperty("PICA-Source");
		if (c == null) {
			c = "1.001.440.cn";
		}
		if (d == null) {
			d = "pica";
		}
		c c1;
		(c1 = new c(display)).setFullScreenMode(true);
		display.setCurrent(c1);
		try {
			Thread.sleep(3000L);
		} catch (InterruptedException e) {
			e.printStackTrace();
		}
		return;
	}

	public final void a() {
		notifyDestroyed();
	}

	public static final void b() {
		AlertType.ALARM.playSound(display);
		AlertType.WARNING.playSound(display);
		AlertType.INFO.playSound(display);
		AlertType.WARNING.playSound(display);
		AlertType.INFO.playSound(display);
	}

	protected final void startApp()
			throws MIDletStateChangeException {
	}

	protected final void pauseApp() {
	}

	protected final void destroyApp(boolean flag)
			throws MIDletStateChangeException {
	}
}
